package cn.tworice.blog.dao;

import cn.tworice.blog.entity.SendComment;
import cn.tworice.blog.entity.SendMailDto;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentDao {
    int insertComment(SendComment sendComment);

    List<SendComment> queryMessageByPage(Integer pageSize, Integer pageNum);

    List<SendComment> queryMessageAll();

    int delById(Integer id);
}
